<template>
  <div class="smallheader">
   
      {{ msg }}
   
  </div>
</template>

<script>
export default {
  data() {
    return {
      msg: "",
    };
  },
   methods: {
    init() {
      switch (this.$route.params.value) {
        case "library-examine":
          this.msg = "审核备项目库";
          break;
            case "report-examine":
          this.msg = "审核备项目分析";
          break;
        case "library-three":
          this.msg = "三年滚动计划项目库";
          break;
           case "report-three":
          this.msg = "三年滚动计划项目分析";
          break;
        case "library-five":
          this.msg = "亿元以上五年规划项目库";
          break;
         case "report-five":
          this.msg = "亿元以上五年规划项目分析";
          break;
          case "sum-analysis":
          this.msg = "综合分析";
          break;
           case "user-management":
          this.msg = "用户权限管理";
          break;
           case "diary-management":
          this.msg = "日志管理";
          break;
        default:
          break;
      }
    },
  },
  watch:{
      '$route':'init'
  },
  created() {
    this.init();
  },
};
</script>

<style >
.smallheader {
  width: 100%;
  text-align: center;
  background-color: white;
  color: #909399;
}
</style>